package com.yunji.product.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.params
 * @Title: ProductAttrParam
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-14 14:34:07      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AttrListQueryBO {

    @ApiModelProperty("商品属性")
    @Length(message = "商品属性不能超过{}个字符", max = 10)
    private String attrName;

    @ApiModelProperty("商品属性ID")
    private Long attrId;

}